<!DOCTYPE html>
<html class="x-admin-sm">

<head>
    <meta charset="UTF-8">
    <title>编辑新闻</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <!--    <meta name="viewport"-->
    <!--          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>-->
    <link rel="stylesheet" href="../../css/font.css">
    <link rel="stylesheet" href="../../css/xadmin.css">
    <script type="text/javascript" src="../../js/jquery.min.js" charset="utf-8"></script>
    <script src="../../js/admin/isLogin.js" charset="utf-8"></script>
    <script type="text/javascript" src="../../lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="../../js/xadmin.js"></script>
    <script src="../../js/news/news-edit.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="layui-fluid">
    <div class="layui-row">
        <form class="layui-form" onsubmit="return false;">
<!--            ID 隐藏 -->
            <div class="layui-form-item" style="display: none">
                <label for="L_id" class="layui-form-label">
                    <span class="x-red">*</span>ID</label>
                <div class="layui-input-inline">
                    <input type="text" id="L_id" name="id"  disabled=""
                           autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="L_title" class="layui-form-label">
                    <span class="x-red">*</span>标&emsp;&emsp;题</label>
                <div class="layui-input-block">
                    <input type="text" id="L_title" name="title"  required="" lay-verify="required"
                           autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label for="L_subhead" class="layui-form-label">
                    <span class="x-red">*</span>副&nbsp;标&nbsp;题</label>
                <div class="layui-input-block">
                    <input type="text" id="L_subhead" name="subhead"  required="" lay-verify="required"
                           autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">详&emsp;&emsp;情</label>
                <div class="layui-input-block">
                    <textarea id="content" name="content" lay-verify="content" style="display: none;" ></textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <label for="L_author" class="layui-form-label">
                    <span class="x-red">*</span>作&emsp;&emsp;者</label>
                <div class="layui-input-block">
                    <input type="text" id="L_author" name="author"  required="" lay-verify="required"
                           autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">新闻类型</label>
                <div class="layui-input-block">
                    <select name="typeId" id="typeId" required="" lay-verify="required">
                        <option value="">请选择</option>
                        <optgroup label="一级类型" id="newsType">
<!--                            <option value="你工作的第一个城市">你工作的第一个城市？</option>-->
                        </optgroup>
                        <optgroup label="子类型" id="newsType2">
<!--                            &lt;!&ndash;<option value="你的工号">你的工号？</option>-->
<!--                            <option value="你最喜欢的老师">你最喜欢的老师？</option>&ndash;&gt;-->
                        </optgroup>
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label  class="layui-form-label"></label>
                <button class="layui-btn" lay-filter="add" id="sumbit" lay-submit="">修改新闻</button>
                &emsp;
                <button class="layui-btn layui-btn-danger" type="button" onclick="resetNews()" >重置信息</button>
            </div>
        </form>
    </div>
</div>

</body>

</html>